package com.atguigu.gulimallflow.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import utils.PageUtils;
import utils.Query;

import com.atguigu.gulimallflow.dao.ActRuDeadletterJobDao;
import com.atguigu.gulimallflow.entity.ActRuDeadletterJobEntity;
import com.atguigu.gulimallflow.service.ActRuDeadletterJobService;


@Service("actRuDeadletterJobService")
public class ActRuDeadletterJobServiceImpl extends ServiceImpl<ActRuDeadletterJobDao, ActRuDeadletterJobEntity> implements ActRuDeadletterJobService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<ActRuDeadletterJobEntity> page = this.page(
                new Query<ActRuDeadletterJobEntity>().getPage(params),
                new QueryWrapper<ActRuDeadletterJobEntity>()
        );

        return new PageUtils(page);
    }

}
